#include "Chorus.h"
#include "lang/StringFormat.hpp"
using namespace yzrilyzr_lang;
namespace yzrilyzr_dsp{
	Chorus::Chorus(){
		registerParamDSP("Osc", &osc);
		registerParamTimeMs("Depth", &depthMs);
		registerParamNormal01("WetRatio", &wetRatio);
		registerParamNormal11("Feedback", &feedback);
	}

	String Chorus::toString()const{
		return StringFormat::object2string("Chorus", osc, depthMs, wetRatio, feedback);
	}
}